package com.seatch.msgateway.config;

import org.springframework.context.annotation.Configuration;

@Configuration
public class UsingCloudConfigAutoConfiguration {

    public UsingCloudConfigAutoConfiguration()
    {
        System.setProperty("spring.cloud.config.uri","http://localhost:5020");
        System.setProperty("spring.cloud.config.name","eureka-registry");
        System.setProperty("spring.cloud.config.profile","prod");
        System.setProperty("spring.profiles.active","prod");
        System.out.println("UsingCloudConfigAutoConfiguration constructed");
    }
}
